import serve from 'rollup-plugin-serve';
import resolve from 'rollup-plugin-node-resolve';

export default {
    input: 'tsc/main.js',
    output: {
        file: './dst/main.js',
        format: 'cjs',
        sourcemap:true
    },
    plugins: [ 
        serve({
            contentBase: 'dst',
            host: 'localhost',
            port: 10001
        }),
        resolve() ]
  }